﻿<div class="wrap">
			<!--条件删选-->
			<div class="condition">
				<ul class="select top_tab">
					<li class="select-list">
						<dl id="select1">
							<dd class="selected">
								<a href="#">个人上传</a>
							</dd>
							<!--<dd>-->
								<!--<a href="#">变试题</a>-->
							<!--</dd>-->
							<!--<dd>-->
								<!--<a href="#">加精</a>-->
							<!--</dd>-->
						</dl>
					</li>
				</ul>
			</div>
			<!--end 条件删选-->

			<!--排序-->
			<div class="sort">
				<ul class="lt">
					<li>
						<a role="button" ng-click="getMy()">我的习题</a>
					</li>
					<li>
						<a role="button" ng-click="getNew()">最新上传</a>
					</li>
					<li>
						<a role="button" ng-click="getRead()">浏览最多</a>
					</li>
					<li>
						<a role="button" ng-click="getDiff()">难度</a>
					</li>
				</ul>
				<div class="r_button rt">
					<span>{{subjectCount}}题/{{indexCount}}页</span>
				</div>
			</div>
			<!--end 排序-->

			<!--题目-->
			<div class="content panel-group" id="accordion2">
				<div class="subject upload" ng-repeat="item in subject">
					<button type="button" class="btn btn-success" ng-click="del(item.id)"><i class="fa fa-times"></i>删除</button>
					<h6><span>题{{$index+1}}</span>{{item.name}}&nbsp;{{item.namestr}}</h6>
					<ul>
						<li ng-repeat="x in item.xt_exercises_list"><span>  </span>{{x.name}}</li>
					</ul>
					<p>来源：{{item.contentfrom}}</p>
				</div>
				<!--分页-->
				<ul class="pagination rt page">
					<li>
						<button class="uppage" ng-disabled="postData.pageindex-1<=0" ng-click="down()"><i class="fa fa-caret-left"></i> 上一页</button>
					</li>
					<li>
						<a ng-class='{changePage:postData.pageindex==($index+1)}' role="button"  ng-repeat="num in datacount" ng-click="paging($index)">{{$index+1}}</a>
					</li>
					<li>
						<button class="uppage" ng-disabled="postData.pageindex>=datacount.length" ng-click="up()">下一页 <i class="fa fa-caret-right"></i></button>
					</li>
				</ul>
				<!--end 分页-->
			</div>
			<!--end 题目-->
		</div>

		<div class="foot">宁波琢华软件科技有限公司</div>